<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class mseries extends MY_Model {

    var $theme_data = array(
        'layout_main' => 'layout',
        'left' => 'include/leftcp',
    );
    public $mytable = "series";
    public $primaryKey = "series_id";
    public $resCode = "SERIES";

    function __construct() {
        parent::__construct();
    }

    function field() {
		$fieldData = array();
	$fieldData['series_title'] = '';
	$fieldData['series_title_ascii'] = '';
	$fieldData['series_code'] = '';
	$fieldData['series_thumb'] = '';
	$fieldData['series_status'] = 1;
	$fieldData['seo_h1'] = '';
	$fieldData['seo_description'] = '';
	$fieldData['seo_keyword'] = '';
	$fieldData['seo_title'] = '';
	$fieldData['series_time_create'] = time();
	$fieldData['series_time_update'] = time();
	return $fieldData;
    }
	
}

?>